//
//  WebPushParameterModel.h
//  ExampleApp-iOS
//
//  Created by QA on 16/6/24.
//  Copyright © 2016年 Marcus Westin. All rights reserved.
//

#import <Foundation/Foundation.h>

typedef NS_ENUM(NSInteger) {
    CodeTypeNone = 0,
    CodeTypeNative, //原生
    CodeTypeWeb, //网页
} CodeType;

@interface WebPushParameterModel : NSObject

@property (nonatomic, assign) NSInteger CodeType;
@property (nonatomic, strong) NSString *URL;
@property (nonatomic, strong) NSString *Title;
@property (nonatomic, strong) NSString *SubTitle;

//解析JSON数据，并生成WebPushParameterModel类数据
+ (WebPushParameterModel*)analysisJsonParameter:(id)parameter;

@end
